home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Dynamic Image selector.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
2KB
|
72 lines
[SUBJECT]
Description=Dynamic Image selector Script
ImageIndex=-1
Folder=Graphical Effects
[BODY_TEXT]
;<form name="dynamicselector">
;<table border="0" width="100%" cellspacing="0" cellpadding="0" height="178" summary="">
;<tr>
;<td width="35%" valign="top" align="left">
;<select name="dynamicselector2" size="4" onChange="generateimage(this.options[this.selectedIndex].value)">
;
;<option value="`Image1`">Car</option>
;<option value="`Image2`">Pool ball</option>
;<option value="`Image3`">Plane</option>
;<option value="`Image4`">Hand</option>
;<option value="`Image5`">Pie</option>
;</select>
;<script>
;
;/*
;Dynamic Image selector Script-
;⌐ Dynamic Drive (www.dynamicdrive.com)
;For full source code, installation instructions,
;100's more DHTML scripts, and Terms Of
;Use, visit dynamicdrive.com
;*/
;
;function generateimage(which){
;if (document.all){
;dynamic3.innerHTML='<center>Loading image...</center>';
;dynamic3.innerHTML='<img src="'+which+'">';
;}
;else if (document.layers){
;document.dynamic1.document.dynamic2.document.write('<img src="'+which+'">');
;document.dynamic1.document.dynamic2.document.close();
;}
;else
;alert('You need NS 4 or IE 4 to view the images!');
;}
;</script>
;</td>
;<td width="65%" valign="top" align="left"><ilayer id="dynamic1" width="100%" height="178"><layer id="dynamic2" width="100%" height="178"><div id="dynamic3"></div></layer></ilayer></td>
;</tr>
;</table>
;</form>
[`Image1`]
Kind=U
Value=buggy.gif
[`Image2`]
Kind=U
Value=imagemap.gif
[`Image3`]
Kind=U
Value=plane.gif
[`Image4`]
Kind=U
Value=hand.gif
[`Image5`]
Kind=U
Value=cake.gif